package com.ruoyi.system.domain.aid;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 援助需求对象 aid_demand
 */
public class AidDemand extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 需求ID */
    @Excel(name = "需求ID")
    private Long demandId;

    /** 需求标题 */
    @Excel(name = "需求标题")
    private String demandTitle;

    /** 物资类别 */
    @Excel(name = "物资类别", dictType = "aid_material_type")
    private String materialType;

    /** 需求数量 */
    @Excel(name = "需求数量")
    private Long quantity;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 状态 */
    @Excel(name = "状态", dictType = "sys_normal_disable")
    private String status;

    /** 优先级 */
    @Excel(name = "优先级", dictType = "aid_priority")
    private String priority;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String contactName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 需求描述 */
    @Excel(name = "需求描述")
    private String description;

    /** 物资类别名称 */
    @Excel(name = "物资类别名称")
    private String categoryName;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 需求地区 */
    @Excel(name = "需求地区")
    private String region;

    /** 期望交付日期 */
    @Excel(name = "期望交付日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expectedTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public void setDemandId(Long demandId) {
        this.demandId = demandId;
    }

    public Long getDemandId() {
        return demandId;
    }

    public void setDemandTitle(String demandTitle) {
        this.demandTitle = demandTitle;
    }

    public String getDemandTitle() {
        return demandTitle;
    }

    public void setMaterialType(String materialType) {
        this.materialType = materialType;
    }

    public String getMaterialType() {
        return materialType;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setPriority(String priority) {
        this.priority = priority;
    }

    public String getPriority() {
        return priority;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getRegion() {
        return region;
    }

    public void setExpectedTime(Date expectedTime) {
        this.expectedTime = expectedTime;
    }

    public Date getExpectedTime() {
        return expectedTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("demandId", getDemandId())
            .append("demandTitle", getDemandTitle())
            .append("materialType", getMaterialType())
            .append("quantity", getQuantity())
            .append("unit", getUnit())
            .append("status", getStatus())
            .append("priority", getPriority())
            .append("contactName", getContactName())
            .append("contactPhone", getContactPhone())
            .append("address", getAddress())
            .append("description", getDescription())
            .append("categoryName", getCategoryName())
            .append("contactPerson", getContactPerson())
            .append("region", getRegion())
            .append("expectedTime", getExpectedTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
} 